package com.ruoyi.oa.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClockUserInfoBo {

    private String userId;


    /**
     * 经度
     */
    private double longitude;

    /**
     * 维度
     */
    private double latitude;

    /**
     * 地址
     */
    private String address;

    /**
     * 打卡时间
     */
    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="HH:mm")
    private Date clockDate;


    private String remarks;

    /**
     * 想要外出打卡
     */
    private Boolean isOutside;

    /**
     * 外勤事由
     */
    private String outSideReason;

    /**
     * 照片图片
     */
    private String attachment;
}
